package com.whmskj.xjlhbc.mobile.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * 坯布日报数据VO
 */
@Data
@Schema(description = "坯布日报数据")
public class Bchb07DailyReportVO {

    @Schema(description = "总体统计")
    private SummaryVO summary;

    @Schema(description = "详细数据列表")
    private List<ProductDetailVO> detailList;

    @Schema(description = "查询日期")
    private String queryDate;

    /**
     * 总体统计VO
     */
    @Data
    @Schema(description = "总体统计")
    public static class SummaryVO {
        
        @Schema(description = "品种数")
        private Integer varietyCount;
        
        @Schema(description = "开台数")
        private Integer machineCount;
        
        @Schema(description = "当日产量")
        private String dailyProduction;
        
        @Schema(description = "平均效率")
        private String averageEfficiency;
    }

    /**
     * 产品详细数据VO
     */
    @Data
    @Schema(description = "产品详细数据")
    public static class ProductDetailVO {
        
        @Schema(description = "主键ID")
        private Long id;
        
        @Schema(description = "日期")
        private String statisticsDate;
        
        @Schema(description = "品号")
        private String productNo;
        
        @Schema(description = "品名")
        private String productName;
        
        @Schema(description = "纬密")
        private String weftDensity;
        
        @Schema(description = "开台数")
        private Integer machineCount;
        
        @Schema(description = "当日产量")
        private String dailyProduction;
        
        @Schema(description = "台均值")
        private String averagePerMachine;
        
        @Schema(description = "折标产量")
        private String standardizedProduction;
        
        @Schema(description = "折标均值")
        private String standardizedAverage;
        
        @Schema(description = "车速")
        private String machineSpeed;
        
        @Schema(description = "效率")
        private String efficiency;
        
        @Schema(description = "更新人")
        private String updater;
        
        @Schema(description = "更新时间")
        private java.util.Date updateTime;
    }
}
